<template>
    <div id="all">
        <div id="a_left"></div>
        <div id="a_right">

            <div id="a_header">
                <el-row type="flex" class="row-bg" justify="space-around">
                    <el-col :span="6"><div class="grid-content bg-purple">首页</div></el-col>

                    <el-col :span="6"><div class="grid-content bg-purple">个人中心</div></el-col>
                </el-row>

            </div>
            <div id="m_main">
                <div id="am_left">
                    <!-- <el-row  :gutter="20">
                        <el-col :span="6"><div class="grid-content bg-purple">全部</div></el-col>
                        <el-col :span="6"><div class="grid-content bg-purple">幼儿园</div></el-col>
                        <el-col :span="6"><div class="grid-content bg-purple">初中</div></el-col>
                        <el-col :span="6"><div class="grid-content bg-purple">高/职中</div></el-col>
                        <el-col :span="6"><div class="grid-content bg-purple">大学</div></el-col>
                    </el-row> -->
                  <High></High>
                  <Junior></Junior>
                  <Primary></Primary>
                    <div id="l_left">
                        <div id="messageboard">
                            <el-card class="box-card">
                                <div  class="clearfix">
                                    <span>留言板</span>
                                </div>
                                <div v-for="o in 5" :key="o" class="text item">
                                    {{'列表内容 ' + o }}
                                </div>
                            </el-card>
                        </div>
                        <div id="map"></div>

                    </div>
                </div>
                <div id="am_right">
                    <h1 >照片展示</h1>
                </div>


            </div>
        </div>

    </div>
</template>

<script>
import High from './my/High.Vue';
import junior from './my/Junior.Vue';
import primary from './my/Primary.Vue';
export default {
  components: {High}
}


</script>

<style>
*{
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
}
#a_left{
    position: fixed;
    width: 10px;
    height: 100%;
    background-color: brown;
}
#a_right #a_header{
    position: fixed;
    left: 10px;
    width: 100%;
    height: 40px;
    background-color: beige;
}
.el-row {
    margin-bottom: 20px;
    /* &:last-child {
      margin-bottom: 0;
    } */
  }
  .el-col {
    border-radius: 4px;
  }

  .bg-purple {
    background: #efd344;
  }
  .grid-content {
    text-align: center;
    border-radius: 20px;
    min-height: 33px;
    font-size: 24px;
  }
  .row-bg {
    padding: 2px 10px;

  }


#am_left{
    position: fixed;
    top: 40px;
    left: 10px;
    width: 68%;
    height: 100%;
    background-color: blue;
    border-radius: 5px;
}
#am_left #messageboard{
    position: fixed;
    top: 10%;
    left: 2%;
    width: 21%;
    height: 87%;
    background-color: plum;
    border-radius: 5px;
}
.text {
    font-size: 14px;
  }

  .item {
    margin-bottom: 18px;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }
  .clearfix:after {
    clear: both
  }

#am_left #map{
    position: fixed;
    top: 10%;
    left: 24%;
    width: 43%;
    height: 87%;
    background-color: plum;
    border-radius: 5px;
}
#am_right{
    position: fixed;
    top: 40px;
    left: 70%;
    width: 35%;
    height: 100%;
    background-color: yellow;
    border-radius: 5px;
}

#m_left .el-row{
    position: relative;
    left: 10px;
    top: 0px;
    box-sizing: initial;
    background-color: indianred;
    text-align: center;
    width: 100%;
    height: 40px;
}
/* #l_left{
    position: relative;
    width: 65%;
    height: 100%;
    background-color: aqua;

} */




</style>
